package com.suke.czx.modules.wxadmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.suke.czx.modules.wxadmin.dao.DkUserOrderDao;
import com.suke.czx.modules.wxadmin.entity.DkUserOrderEntity;
import com.suke.czx.modules.wxadmin.service.DkUserOrderService;



@Service("dkUserOrderService")
public class DkUserOrderServiceImpl implements DkUserOrderService {
	@Autowired
	private DkUserOrderDao dkUserOrderDao;
	
	@Override
	public DkUserOrderEntity queryObject(String orderNo){
		return dkUserOrderDao.queryObject(orderNo);
	}
	
	@Override
	public List<DkUserOrderEntity> queryList(Map<String, Object> map){
		return dkUserOrderDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dkUserOrderDao.queryTotal(map);
	}
	
	@Override
	public void save(DkUserOrderEntity dkUserOrder){
		dkUserOrderDao.save(dkUserOrder);
	}
	
	@Override
	public void update(DkUserOrderEntity dkUserOrder){
		dkUserOrderDao.update(dkUserOrder);
	}
	
	@Override
	public void delete(String orderNo){
		dkUserOrderDao.delete(orderNo);
	}
	
	@Override
	public void deleteBatch(String[] orderNos){
		dkUserOrderDao.deleteBatch(orderNos);
	}
	
}
